import request from '@/utils/axios'

export function add(data) {
  return request({
    headers: {
      'Content-Type': 'multipart/form-data; charset=utf-8;'
    },
    url: '/client/authentication',
    method: 'post',
    data
  })
}


export function getPageData(data) {
  return request({
    url: `/admin/authentication/page`,
    method: 'post',
    data
  })
}

export function audit(id,sta) {
  return request({
    url: `/admin/authentication/${id}/${sta}`,
    method: 'put',
  })
}